package com.litong.litongjiaoyu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

/**
 * 订单实体类
 */
public class SysOrder {

  private String id;
  private String name;
  private String phone;
  private String campus;
  private String course;

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
  private java.sql.Timestamp dateTime;
  private String openId;
  private int status;


  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }


  public String getCampus() {
    return campus;
  }

  public void setCampus(String campus) {
    this.campus = campus;
  }


  public String getCourse() {
    return course;
  }

  public void setCourse(String course) {
    this.course = course;
  }


  public Timestamp getDateTime() {
    return dateTime;
  }

  public void setDateTime(Timestamp dateTime) {
    this.dateTime = dateTime;
  }

  public String getOpenId() {
    return openId;
  }

  public void setOpenId(String openId) {
    this.openId = openId;
  }

  public int getStatus() {
    return status;
  }

  public void setStatus(int status) {
    this.status = status;
  }

  @Override
  public String toString() {
    return "SysOrder{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", phone='" + phone + '\'' +
            ", campus='" + campus + '\'' +
            ", course='" + course + '\'' +
            ", dateTime=" + dateTime +
            ", openId='" + openId + '\'' +
            ", status=" + status +
            '}';
  }
}
